<?php
/**
 * Created by PhpStorm.
 * User: 图图
 * Date: 2021-6-8
 * Time: 16:29
 */

namespace app\web\controller;

use app\common\controller\Api;
use app\common\model\Factor;
use app\common\model\Fenorder;
use app\common\model\Cart as CartModel;
use think\Db;
use think\db\Where;
use function Couchbase\defaultDecoder;

/**
 * 前台首页控制器
 * @package app\index\controller
 */
class Version extends Home
{
    public $noNeedLogin = ['index'];

    public function index(){
        $data = Db::table('dp_admin_config')->where(['group'=>'app','status'=>1])->column('name,value');
        $this->result('查询成功',$data,200);
    }

}
